package com.sy.notice.msg;

import lombok.Data;

import java.util.List;

/**
 * @author 舒祥
 * @date 2022-01-16 10:25
 * @desc 文本消息
 */
@Data
public class TextMessage {
    private At at;
    private Text text;
    private String msgtype = "text";

    @Data
    public static class At {
        private List<String> atMobiles;
        private List<String> atUserIds;
        private boolean isAtAll = false;
    }

    @Data
    public static class Text {
        private String content;
    }

}

